<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no">
    <title>{$title}</title>
    <style type="text/css">

        .container{
            text-align: center;
            padding-top: 3rem;
            padding-left: 1rem;
            padding-right: 1rem;
        }
        a.btnOpen {
            display: block;
            background-color: #FDBC22;
            text-decoration: none;
            box-shadow: 0px 3px 6px rgba(26,160,52,0.42);
            border-radius: 0.5rem;
            line-height: 3rem;
            color : #18151b

        }
    </style>
</head>
<body>

<div class="container">
    <p>{$desc}</p>

    <p><a href="{$url|raw}" class="btnOpen">点击这里继续</a></p>

    <script>
        /*读取上一次地址，并转入*/
        localStorage.setItem('userInfo', "{$userInfo}");
        localStorage.setItem('token', "{$token}");
        var backUrl = localStorage.getItem('back_url');
        if (backUrl && backUrl.length > 0) {
            window.location.href = backUrl;
        } else {
            //进入主页
            window.location.href = "/h5/";
        }
    </script>

</div>

</body>
</html>